#include "ccuisinerecipe.h"

CCuisineRecipe::CCuisineRecipe(QObject *parent) :
    CObject(parent)
{
}


//int CCuisineRecipe::id() {
//    return m_id;
//}

//void CCuisineRecipe::setId(int id) {
//    if (m_id != id) {
//        m_id = id;
//        emit idChanged();
//    }
//}

int CCuisineRecipe::cuisineId() {
    return m_cuisine_id;
}

void CCuisineRecipe::setCuisineId(int cuisineId) {
    if (m_cuisine_id != cuisineId) {
        m_cuisine_id = cuisineId;
        emit cuisineIdChanged();
    }
}


int CCuisineRecipe::recipeId() {
    return m_recipe_id;
}

void CCuisineRecipe::setRecipeId(int recipeId) {
    if (m_recipe_id != recipeId) {
        m_recipe_id = recipeId;
        emit recipeIdChanged();
    }
}

